package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程学习记录对象 dz_kcjl
 * 
 * @author ruoyi
 * @date 2022-10-06
 */
public class DzKcjl extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long jlId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String title;

    /** 课程id */
    @Excel(name = "课程id")
    private Long kcId;

    /** 课程封面 */
    @Excel(name = "课程封面")
    private String covPic;

    /** 所属专业 */
    @Excel(name = "所属专业")
    private String deptName;

    /** 最近学习时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近学习时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date zjTime;

    @Excel(name = "学习总时长")
    private Long zongtime;

    public void setZongtime(Long zongtime) {
        this.zongtime = zongtime;
    }

    /** 会员 */
    @Excel(name = "会员")
    private Long huiyuanId;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private Integer kctype;

    /** 是否完成 */
    @Excel(name = "是否完成")
    private Integer iswc;

    private Integer wcper;

    public Integer getWcper() {
        return wcper;
    }

    public void setWcper(Integer wcper) {
        this.wcper = wcper;
    }

    public Long getZongtime() {
        return zongtime;
    }

    public void setJlId(Long jlId)
    {
        this.jlId = jlId;
    }

    public Long getJlId() 
    {
        return jlId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setKcId(Long kcId) 
    {
        this.kcId = kcId;
    }

    public Long getKcId() 
    {
        return kcId;
    }
    public void setCovPic(String covPic) 
    {
        this.covPic = covPic;
    }

    public String getCovPic() 
    {
        return covPic;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setZjTime(Date zjTime) 
    {
        this.zjTime = zjTime;
    }

    public Date getZjTime() 
    {
        return zjTime;
    }
    public void setHuiyuanId(Long huiyuanId)
    {
        this.huiyuanId = huiyuanId;
    }

    public Long getHuiyuanId() 
    {
        return huiyuanId;
    }
    public void setKctype(Integer kctype) 
    {
        this.kctype = kctype;
    }

    public Integer getKctype() 
    {
        return kctype;
    }
    public void setIswc(Integer iswc) 
    {
        this.iswc = iswc;
    }

    public Integer getIswc() 
    {
        return iswc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("jlId", getJlId())
            .append("title", getTitle())
            .append("kcId", getKcId())
            .append("covPic", getCovPic())
            .append("deptName", getDeptName())
            .append("zjTime", getZjTime())
            .append("huiyuanId", getHuiyuanId())
            .append("kctype", getKctype())
            .append("iswc", getIswc())
            .toString();
    }
}
